package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class GeneralLedger implements Serializable {

	private long glKey;
	private String slip_ID;
	private Date slipDate;
	private Date systemDate;
	private long coaKey;
	private long currencyKey;
	private long currencyRateKey;
	private long departmentKey;
	private double exchangeRate;
	private double sourceAmount;
	private double homeAmount;
	private String remark;
	private String status;
	private int srNo;
	private long jobKey;
	private long cashbookKey;
	private long office_ID;
	
	public GeneralLedger() {
		clearProperties();
	}
	
	public void clearProperties() {
		setGlKey(0);
		setSlip_ID("");
		setSlipDate(new Date());
		setSystemDate(new Date());
		setCoaKey(0);
		setCurrencyKey(0);
		setCurrencyRateKey(0);
		setDepartmentKey(0);
		setExchangeRate(0);
		setSourceAmount(0);
		setHomeAmount(0);
		setRemark("");
		setStatus("");
		setSrNo(0);
		setJobKey(0);
		setCashbookKey(0);
		setOffice_ID(0);
	}

	public long getGlKey() {
		return glKey;
	}

	public void setGlKey(long glKey) {
		this.glKey = glKey;
	}

	public String getSlip_ID() {
		return slip_ID;
	}

	public void setSlip_ID(String slip_ID) {
		this.slip_ID = slip_ID;
	}

	public Date getSlipDate() {
		return slipDate;
	}

	public void setSlipDate(Date slipDate) {
		this.slipDate = slipDate;
	}

	public Date getSystemDate() {
		return systemDate;
	}

	public void setSystemDate(Date systemDate) {
		this.systemDate = systemDate;
	}

	public long getCoaKey() {
		return coaKey;
	}

	public void setCoaKey(long coaKey) {
		this.coaKey = coaKey;
	}

	public long getCurrencyKey() {
		return currencyKey;
	}

	public void setCurrencyKey(long currencyKey) {
		this.currencyKey = currencyKey;
	}

	public long getCurrencyRateKey() {
		return currencyRateKey;
	}

	public void setCurrencyRateKey(long currencyRateKey) {
		this.currencyRateKey = currencyRateKey;
	}

	public long getDepartmentKey() {
		return departmentKey;
	}

	public void setDepartmentKey(long departmentKey) {
		this.departmentKey = departmentKey;
	}

	public double getExchangeRate() {
		return exchangeRate;
	}

	public void setExchangeRate(double exchangeRate) {
		this.exchangeRate = exchangeRate;
	}

	public double getSourceAmount() {
		return sourceAmount;
	}

	public void setSourceAmount(double sourceAmount) {
		this.sourceAmount = sourceAmount;
	}

	public double getHomeAmount() {
		return homeAmount;
	}

	public void setHomeAmount(double homeAmount) {
		this.homeAmount = homeAmount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getSrNo() {
		return srNo;
	}

	public void setSrNo(int srNo) {
		this.srNo = srNo;
	}

	public long getJobKey() {
		return jobKey;
	}

	public void setJobKey(long jobKey) {
		this.jobKey = jobKey;
	}

	public long getCashbookKey() {
		return cashbookKey;
	}

	public void setCashbookKey(long cashbookKey) {
		this.cashbookKey = cashbookKey;
	}

	public long getOffice_ID() {
		return office_ID;
	}

	public void setOffice_ID(long office_ID) {
		this.office_ID = office_ID;
	}
}
